package com.hyz.login.service.impl;

import com.hyz.login.model.Moneytype;
import com.hyz.login.mapper.MoneytypeMapper;
import com.hyz.login.service.MoneytypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zwq
 * @since 2022-11-29
 */
@Service
public class MoneytypeServiceImpl
        extends ServiceImpl<MoneytypeMapper, Moneytype> implements MoneytypeService {

    @Autowired
    private MoneytypeMapper moneytypeMapper;

    @Override
    public List<Moneytype> findAll() {
        return moneytypeMapper.selectList(null);
    }
}
